home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5479 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.7 KB

  1. Path: nntp.hut.fi!usenet
  2. From: oahvenla@hyppynaru.cs.hut.fi (Osma Ahvenlampi)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Want to boot FAAAST?
  5. Date: 14 Mar 1996 21:24:51 +0200
  6. Organization: What, me, organised?
  7. Sender: oahvenla@hyppynaru.cs.hut.fi
  8. Distribution: inet
  9. Message-ID: <jdjag1jo4u4.fsf@hyppynaru.cs.hut.fi>
  10. References: <4hhk7s$62g@nz12.rz.uni-karlsruhe.de>
  11.     <68771855@0humpty.tomate.tng.oche.de>
  12.     <4hotcm$spd@roadkill.scms.rgu.ac.uk> <439.6642T928T2853@ifi.uio.no>
  13.     <4i6arr$786@info.epfl.ch> <4i6i10$o65@pravda.aa.msen.com>
  14. NNTP-Posting-Host: hyppynaru.cs.hut.fi
  15. Mime-Version: 1.0
  16. Content-Type: text/plain; charset=US-ASCII
  17. In-reply-to: crandall@mail.msen.com's message of 13 Mar 1996 13:19:28 GMT
  18. X-Newsreader: Gnus v5.1
  19.  
  20. In article <4i6i10$o65@pravda.aa.msen.com> crandall@mail.msen.com (Chad Randall) writes:
  21. >Philippe Vez (vez@de.epfl.ch) wrote:
  22. >: I assign ENV: to RAM:Env as made in the startup, and
  23. >: I "Assign ENV: SYS:Storage/env-storage ADD"
  24. >: So when someone will read for example overscan.prefs, it didn't find it in
  25. >: ram:env but in env-storage, Click use and it saves it in ram:env (the primary
  26. >: assign)..
  27. >I was pondering the same idea.  It seems sound in it's theory.  But I'm
  28. >not sure why no one has mentioned or offered it before now.  Why did
  29. >C= not do this in the first place?  There has to be something overlooked.
  30.  
  31. The theory is fine, yes, too bad it doesn't work:
  32.  
  33. Ram Disk:> makedir 1
  34. Ram Disk:> makedir 2
  35. Ram Disk:> echo foo to 2/zz
  36. Ram Disk:> assign aa: 1
  37. Ram Disk:> assign aa: 2 add
  38. Ram Disk:> type aa:zz
  39. TYPE can't open aa:zz
  40. object not found
  41. Ram Disk:> list aa:
  42. Directory "aa:" is empty
  43. Ram Disk:> aa:
  44. Ram Disk:1> list
  45. Directory "" is empty
  46. Ram Disk:1> copy aa:zz aa:
  47. Can't open zz for input - object not found
  48. Ram Disk:1> assign
  49. ...
  50. Directories:
  51. aa             Ram Disk:1
  52.              + Ram Disk:2
  53. ...
  54. Ram Disk:1> llist aa: ; llist understands multi-assigns correctly
  55. Directory of "Ram Disk:1/" on Thursday 14-Mar-96
  56. Directory is empty
  57.  
  58. Directory of "Ram Disk:2/" on Thursday 14-Mar-96
  59. ----rwed        4 Today     21:07:35 zz
  60. 1 file - 4 bytes total
  61.  
  62. TOTAL: 1 file - 4 bytes total
  63. Ram Disk:1>
  64.  
  65. Why isn't ENV: done using Assign ADD? because ExAll(),
  66. Lock()+CurrentDir(), and any other DOS function that accesses a
  67. directory (as opposed to a file; Open("aa:zz", MODE_OLDFILE) would
  68. have worked but few AmigaDOS CLI programs do things the
  69. straightforward way) only sees the contents of the primary directory.
  70.  
  71. -- 
  72. He who spends a storm beneath a tree, takes life with a grain of TNT.
  73. | "Osma Ahvenlampi" <mailto:oa@iki.fi> <http://www.iki.fi/oa/> |
  74. | Amiga&BeBox&ClassAct&Voodoo&ARTech cool stuff: I-Net225&AWeb |
  75.                                                               --
  76.